<template>
    <div class="error-box">
        <n-result status="404" title="请输入正确的地址" description="你好像试图发现新大陆">
            <template #footer>
                <n-button @click="router.push('/')">返回首页</n-button>
            </template>
        </n-result>
    </div>
</template>
<script lang="ts" setup>
import { useRouter } from 'vue-router'
const router = useRouter();
</script>
<style lang="scss" scoped>
.error-box {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
</style>